(server version 5.15 or later)
(At least 1 is REQUIRED)
TCPIP-LISTEN <tcpip-process-name> * | <IP-address> | <DNS-name> <port>
Specifies the TCP/IP process name, optional IP address / DNS name and TCP/IP port to place a 'listen' on.
A total of up to 20 specifications may be made, of both TCPIP-LISTEN and TCP-INFO-n. A minimum of one specification is required for either of the keywords.
This keyword expands upon and replaces the keyword TCPIP-INFO-n by allowing the specification of the TCP/IP address listen.
Some NonStop Systems use communication hardware which have multiple physical Ethernet ports controlled by a single NonStop process. For example, the TCP/IP CLIM has several physical Ethernet ports and all communication occurs through only one NonStop process, for example $ZTC0. By default, a TCP/IP listen on a TCP/IP stack process (again for example $ZTC0) would allow incoming connection on every physical Ethernet port in the CLIM and an outbound connection would use a path chosen by the system, which may not be desirable. The specification of a particular IP address (or DNS name) would limit and direct all communication to a single physical Ethernet card.
If a DNS name is specified, it is resolved once at MOMI start up time.
The first occurrence of this keyword in the CONFMOMI file sets defaults for the following keywords:
Examples:
== TCP/IP stack $ZSAM1
== all IP addresses
== port 2010
TCPIP-LISTEN $ZSAM1 * 2010
== TCP/IP stack $ZTC1
== address 192.168.1.10
== port 3000
TCPIP-LISTEN $ZTC1 192.168.1.10 3000
== TCP/IP stack $ZTC1
== address by DNS
== port 3019
TCPIP-LISTEN $ZTC1 tdm.mycompany.com 3010
== TCP/IP stack $ZTCP0
== address 10.11.54.21
== port 2040
TCPIP-LISTEN $ZTCP0 10.11.54.21 2040